serialize With Key Binding
Serializes a SdJwt with a Key Binding JWT.
Receiver
the SD-JWT to be serialized
Return
the serialized SD-JWT including the generated Key Binding JWT
Parameters
hash Algorithm
HashAlgorithm to be used for generating the SdJwtDigest that will be included in the generated Key Binding JWT
abstract suspend fun SdJwt<JWT>.serializeWithKeyBinding(buildKbJwt: BuildKbJwt): Result<String>(source)
Serializes a SdJwt with a Key Binding JWT.
Receiver
the SD-JWT to be serialized
Return
the serialized SD-JWT including the generated Key Binding JWT
Parameters
hash Algorithm
HashAlgorithm to be used for generating the SdJwtDigest that will be included in the generated Key Binding JWT
build Kb Jwt
a way to construct the Key binding JWT